var express = require('express');
var router = express.Router();
// var path=require('path');
// var app=express();

/* GET home page. */
router.get('/', function(req, res, next) {
  res.render('index', { title: 'Express' });
});
router.get('/rules.html', function (req, res) {
  res.render('rules');
});

// app.use(express.static('app/css'));
// app.use(express.static('app/images'));
// app.use(express.static('app/js'));
// app.use('/static', express.static('css'));
// app.use('/static', express.static('images'));
// app.use('/static', express.static('js'));
module.exports = router;
